package com.icode.gulimall.order.feign;

import com.icode.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

/**
 * @Author: my_code
 * @Email: my_code@foxmail.com
 * @Create: 2021-02-01 15:36
 */
@FeignClient("gulimall-product")
public interface ProductFeignService {

    @GetMapping("/product/spuinfo/byskuid/{skuid}")
    R getInfoBySkuId(@PathVariable("skuid") Long skuId);
}
